#ifndef WINGPLANE_H
#define WINGPLANE_H

#include<QPixmap>
#include<QRect>
#include <QWidget>
#include<01Config.h>
#include<QRect>
#include<choosehero.h>
#include<bullet.h>
class WingPlane
{
public:
    WingPlane();
    //发射子弹
    void shoot();


    //设置飞机位置
    void setPOsition(int x,int y);

    //飞机资源  对象
    QPixmap m_Wing_Plane;

    //飞机坐标
    int m_x;
    int m_y;

    //飞机的矩形边框
    QRect m_Rect;

    //弹匣
    Bullet m_bullets[WING_BULLET_NUM];


    //发射时间间隔
    int m_Recorder=0;

    //伤害
    int m_Hurt;

    //僚机血量
    int m_Wing_Blood;

    //僚机状态
    bool is_on;



};

#endif // WINGPLANE_H
